package com.wkw.jkyf.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wkw.jkyf.pojo.Owinfo;
import com.wkw.jkyf.pojo.Problem;

public interface IProblemService extends IService<Problem> {
    //分页查询数据
    // pageNum 第几页 pageSize 页面大小  查询参数
    public IPage<Problem> selectProblemPage(int pageNum, int pageSize, String param);


    //添加
    public int addProblem(Problem problem);

    //修改
    public int editProblem(Problem problem);

    //根据主键id查询
    public Problem queryProblemById(Integer id);


    //根据主键id删除
    public int deleteProblemById(Integer id);
}
